package main.java.model;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import main.java.constant.SessionKey;

import org.hibernate.validator.constraints.NotEmpty;

public class GuardianModel implements Serializable {
	private String guardian_id;
	private String user_id;
	@NotNull(message="cannot be null")
	@NotEmpty(message="cannot be empty")
	private String name;
	@NotNull(message="cannot be null")
	@NotEmpty(message="cannot be empty")
	private String relationship;
	@NotNull(message="cannot be null")
	@NotEmpty(message="cannot be empty")
	private String corporation;
	@NotNull(message="cannot be null")
	@NotEmpty(message="cannot be empty")
	private String phone_number;
	private String id_no;
	
	@Override
	public String toString() {
		return "GuardianModel [guardian_id=" + guardian_id + ", user_id="
				+ user_id + ", name=" + name + ", relationship=" + relationship
				+ ", corporation=" + corporation + ", phone_number="
				+ phone_number + ", id_no=" + id_no + "]";
	}
	
	public String getGuardian_id() {
		return guardian_id;
	}
	public void setGuardian_id(String guardian_id) {
		this.guardian_id = guardian_id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRelationship() {
		return relationship;
	}
	public void setRelationship(String relationship) {
		this.relationship = relationship;
	}
	public String getCorporation() {
		return corporation;
	}
	public void setCorporation(String corporation) {
		this.corporation = corporation;
	}
	public String getPhone_number() {
		return phone_number;
	}
	public void setPhone_number(String phone_number) {
		this.phone_number = phone_number;
	}
	public String getId_no() {
		return id_no;
	}
	public void setId_no(String id_no) {
		this.id_no = id_no;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = SessionKey.JMunersSerialVersionUID;
}
